#include <bag_dealer/DataExtractor.hpp>

int main(int argc, char** argv)
{
    ros::init(argc, argv, "nuscenes_extractor_samples",
              ros::init_options::AnonymousName);
    if (argc < 4)
    {
        ROS_ERROR_STREAM("ARGUMENTS MUST CONTAIN BAGNAME PKGNAME FOR SWEEPS!");
        exit(1);
    }

    BagDealer::SamplesExtractor samplesExtractor(argv[1], argv[2], argv[3]);

    samplesExtractor.extract();

    return 0;
}